package com.lzc.tlmail.tlmailproduct.feign;

import com.lzc.common.to.SkuWareVo;
import com.lzc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author lzc
 * @create 2020-09-21 21:28
 */
@FeignClient("ware-service")
public interface WareFeignService {

    //查询sku是否有库存
    @PostMapping("/ware/waresku/hasstock")
    List<SkuWareVo> getSkusHasStock(@RequestBody List<Long> skuIds);
}
